<?php

class Application_Form_Share extends Zend_Form
{

    public function init()
    {
        /* Form Elements & Other Definitions Here ... */
    	$share_url=new Zend_Form_Element_Text("share_url");
    	$share_url->removeDecorator('Label')->removeDecorator('HtmlTag');
    	$share_url->setAttrib("size", "120")
    		  ->setRequired(true)
    		  ->addFilter('StripTags')
    		  ->addFilter('StringTrim')
    		  ->addValidator('NotEmpty');
    	$submit=new Zend_Form_Element_Submit("提交");
    	$submit->removeDecorator('DtDdWrapper');
    	$this->addElements(array($share_url,$submit));
    }


}

